<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<title>兑换管理</title>
<%@include file="../collect/meta.jsp"%>
<link rel="stylesheet" href="css/radius.css" type="text/css"></link>
<link rel="stylesheet" href="css/table.css" type="text/css"></link>
<script type="text/javascript" src="${ctx}/js/returnTop.js"></script>
</head>
<body lang="zh-cn">
	<div class="wrapper">
		<c:import url="/collect/top.jsp"></c:import>
		<div class="main-container" id="main-container">
			<div class="main-container-inner">
				<c:import url="/collect/left.jsp"></c:import>
				<div class="main-content">
					<div class="breadcrumbs" id="breadcrumbs">
						<ul class="breadcrumb">
							<li><i class="icon-home home-icon"></i>商品兑换</li>
							<li>兑换管理</li>
						</ul>
						<!-- .breadcrumb -->
					</div>
					<div class="page-content">
						<div class="row">
							<div class="col-xs-12">
							<div class="alert alert-success">短信数量：</div>
								<table id="table_bug_report"
									class="table table-striped table-condensed table-bordered table-hover">
									<tr>
										<th>编号</th>
										<th>手机</th>
										<th>类型</th>
										<th>发送时间</th>
										<th>短信内容</th>
										<th>发送反馈</th>
									</tr>
										<s:iterator value="smsList">
											<tr>
												<td><s:property value='id' /></td>
												<td><s:property value='mobile' /></td>
												<td><s:if test="type == 1">企业注册</s:if> <s:elseif
														test="type == 2">企业修改密码</s:elseif> <s:elseif
														test="type == 3">企业忘记密码</s:elseif> <s:elseif
														test="type == 4">会员注册</s:elseif> <s:elseif
														test="type == 5">会员修改密码</s:elseif> <s:elseif
														test="type == 6">会员忘记密码</s:elseif> <s:elseif
														test="type == 7">分店更新账号</s:elseif> <s:elseif
														test="type == 8">分店信息修改</s:elseif>
														<s:else>会员使用余额支付</s:else>
												</td>
												<td><s:property value='createTime' /></td>
												<td><s:property value='content' /></td>
												<td><s:if test="send == 1">发送成功</s:if> <s:elseif
														test="send == 2">发送失败</s:elseif>
												</td>
											</tr>
										</s:iterator>
								</table>
								<div class="row" id="page">
									<ul class="pagination">
										<li><a href="smsLog!getList?index=1">首页</a></li>
										<li class="prev">
											<a href="smsLog!getList?index=${index-1}"> 
												<i class="icon-double-angle-left"></i> 
											</a>
										</li>
										<%-- <li>
            								<a href="smsLog!getList?index=${index-1}">上一页</a>
        								</li> --%>
										<li><a href="javascript:void(0)">${index }</a></li>
										<%-- <li>
            								<a href="smsLog!getList?index=${index+1}">下一页</a>
        								</li> --%>
										<li class="next">
											<a href="smsLog!getList?index=${index+1}"> 
												<i class="icon-double-angle-right"></i> 
											</a>
										</li>
										<li><a href="smsLog!getList?index=${page}">末页</a></li>
										<li><a href="javascript:void(0)">共${page}页</a></li>
									</ul>
								</div>
							</div>
							<!-- /.col -->
						</div>
						<!-- /.row -->
					</div>
					<!-- /.page-content -->
				</div>
				<!-- /.main-content -->
			</div>
			<!-- /.main-container-inner -->
			<a href="#" id="btn-scroll-up"
				class="btn-scroll-up btn btn-sm btn-inverse"
				style="position:fixed;bottom:0;"><i
				class="icon-double-angle-up icon-only bigger-110"></i> </a>
		</div>
		<!-- /.main-container -->
		<div class="push"></div>
	</div>
	<c:import url="/collect/down.jsp"></c:import>
</body>
<script type="text/javascript">
	$(document).ready(function(){
  		//防收回
		$('.yunying > ul').show();
		$('.yunying > ul > li > a').eq(1).css("color","red");
  	});
	</script>
</html>